package com.sf.melon.astar;

/**
 * @author 591030 on 2017/12/1.
 */
public class AStarResult {
    private int totalPathValue;
    private Node start;

    public AStarResult() {
    }

    public AStarResult(int totalPathValue, Node start) {
        this.totalPathValue = totalPathValue;
        this.start = start;
    }

    public int getTotalPathValue() {
        return totalPathValue;
    }

    public void setTotalPathValue(int totalPathValue) {
        this.totalPathValue = totalPathValue;
    }

    public Node getStart() {
        return start;
    }

    public void setStart(Node start) {
        this.start = start;
    }
}
